<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link rel="alternate" type="application/rss+xml" title="" href="/feed"/>
        <link rel="shortcut icon" href="/images/favicon.ico" type="image/x-icon"/>
        <?php //echo $this->headTitle(); ?>
        <title> hathmaluwa blog reader |Hathmaluwa | හත්මාළුව | சாம்பார்</title>
        <link rel="stylesheet" type="text/css" href="/js/extjs/resources/css/ext-all-slate.css" />
        <link rel="stylesheet" type="text/css" href="/css/main.css" />
        <?php echo $this->headStyle(); ?>
        
    </head>
    <body>
        <div id="loading-mask"></div>
        <div id="loading">
            <div class="loading-indicator">
                Loading...
            </div>
        </div>
        <div id="header" style="padding-left: 5px;">
            <img src="/images/hathmaluwa_ext_logo2.png" />
            <h1 class="x-panel-header" style="visibility: hidden;">Hathmaluwa | හත්මාළුව</h1>
        </div>




        <?php echo $this->layout()->content; ?>

        <script type="text/javascript" src="/js/extjs/ext-all.js"></script>
        <script type="text/javascript">
<?php
        if ($_SERVER['SERVER_NAME'] == 'si.hathmaluwa.org') {
            echo "language='si'";
        } elseif ($_SERVER['SERVER_NAME'] == 'ta.hathmaluwa.org') {
            echo "language='ta'";
        } elseif ($_SERVER['SERVER_NAME'] == 'en.hathmaluwa.org') {
            echo "language='en'";
        } else {
            echo "language='all'";
        }
?>
        </script>
        <script type="text/javascript">
            Ext.Loader.setConfig({
                enabled: true});
            Ext.Loader.setPath('Ext.ux', '/js/extjs/ux');
            Ext.require([
                'Ext.panel.Panel',
                'Ext.button.Button',
                'Ext.window.Window',
                'Ext.toolbar.TextItem',
                'Ext.menu.Menu',
                'Ext.toolbar.Spacer',
                'Ext.button.Split',
                'Ext.form.field.TextArea',
                'Ext.ux.form.SearchField',
//                'Ext.ux.SlidingPager',
                'Ext.ux.statusbar.StatusBar'
            ]);
        </script>
<!--    	<script type="/js/extjs/ux/iFramePanel.js"></script>-->
        <script type="text/javascript" src="/js/main.js"></script>
        <?php echo $this->headScript(); ?>
        <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-19938570-1']);
  _gaq.push(['_setDomainName', '.hathmaluwa.org']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
    </body>
</html>
